// app_ble.h

#ifndef __APP_BLE_H__
#define __APP_BLE_H__

#include <stdint.h>
#include "at_chat.h"
#include "sha256.h"
#include "bluenrg_lp_api.h"
#include "ble_const.h"
#include "gap_profile.h"
#include "gatt_db.h"
#include "rf_driver_ll_utils.h"
#include <stdio.h>
#include <string.h>
#include "cassert.h"
#include "app_user_cfg.h"
#include "at_cmd_table.h"




// Type of the structure used to store the state related to each master
typedef struct _master {
  uint8_t  address_type;
  uint8_t  address[6];
  uint16_t conn_handle;
}master_device;




void app_ble_init(at_obj_t* obj);


void default_ble_init(void);



void generate_static_mac_addr(uint8_t bdaddr[6]);


void enable_adv(uint8_t Enable);


int notify_data_handler(at_urc_info_t *info);















#endif


